package com.phkj.qdh.ui.adapter.employeenode

import com.phkj.qdh.R
import com.phkj.qdh.utils.node.BaseNode
import com.phkj.qdh.utils.node.BaseNodeProvider
import com.phkj.qdh.utils.node.BaseViewHolder

class EmployeeHeadProvider:BaseNodeProvider() {
    override val itemViewType: Int
        get() = 1
    override val layoutId: Int
        get() = R.layout.item_employee_select_head

    override fun convert(helper: BaseViewHolder, item: BaseNode) {
        val data = item as EmployeeHeadNode
        helper.setText(R.id.tv,item.tree.name)
    }
}